package com.agy.filemanager.service.impl;

import com.agy.filemanager.common.StringUtils;
import com.agy.filemanager.entity.ProjectInfo;
import com.agy.filemanager.mapper.ProjectInfoMapper;
import com.agy.filemanager.service.ProjectInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProjectInfoServiceImpl implements ProjectInfoService {

    @Autowired
    private ProjectInfoMapper projectInfoMapper;

    @Override
    public void insertProjectInfoBase(ProjectInfo projectInfo) {
        String id = StringUtils.getUUID();
        projectInfo.setId(id);
        projectInfoMapper.insertSelective(projectInfo);
    }

    @Override
    public ProjectInfo queryProjectInfoById(String id) {

        return null;
    }
}
